package vip.zhenzicheng.design_patterns.builder.demo1;

/**
 * @author zhenzicheng
 * @date 2022-05-25 17:46
 */
public class Client {
  public static void main(String[] args) {
    //创建指挥者对象
    Director director = new Director(new MobileBuilder());
    //让指挥者只会组装自行车
    Bike bike = director.construct();

    System.out.println(bike.getFrame());
    System.out.println(bike.getSeat());
  }
}
